package com.gupaoedu.pattern.adapter;

/**
 * 2019/9/28
 * created by chenpp
 * 适配者的实现类
 */
public class DefaultRestaurant implements  Restaurant {
    public void haveFood() {
        System.out.println("餐厅提供各种食物:米饭,炒菜,烤串...");
    }

    public void haveDrink() {
        System.out.println("餐厅提供各种饮料...");
    }
}
